Class that implements the Gaussian Neighborhood Function
Class Constructor
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(gaussian_neighborhood_function) | :: | my_neigh_fn | 
                 A   | 
        |||
| real(kind=wp), | intent(in), | dimension(:) | :: | parameters | 
                 A real array with the paramters sigma and p  | 
        
Function to calculate the value of the Gaussian neighborhood
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(gaussian_neighborhood_function) | :: | my_neigh_fn | 
                 A   | 
        |||
| real(kind=wp), | intent(inout) | :: | geometric_distance | 
                 A real variable with the geometric distnace  | 
        
A real value
type,extends(neighborhood_function_base) :: gaussian_neighborhood_function !! Class that implements the Gaussian Neighborhood Function private real(kind=wp) :: sigma,p contains procedure,public :: create => create_gaussian_neighborhood procedure,public :: calculate => calculate_gaussian_neighborhood end type gaussian_neighborhood_function